/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sessionFacades;

import businessObjects.Admin;
import javax.ejb.Remote;

/**
 *
 * @author williamprado
 */
@Remote
public interface AdminFacadeRemote {

    void registrarAdmin(Admin admin);

    Admin login(String login, String pass);

    void actualizarAdmin(Admin admin);

    void eliminarAdmin(String login);

    Admin consultarAdmin(String login);

    int getBasicRowsParam();

    void setBasicRowsParam(int num);

    /*void create(Admin admin);

    void edit(Admin admin);

    void remove(Admin admin);

    Admin find(Object id);

    List<Admin> findAll();

    List<Admin> findRange(int[] range);

    int count();*/

}
